package com.lc.cehui.http.request;

import com.hjq.http.config.IRequestApi;
import com.lc.cehui.app.AppApplication;
import com.lc.cehui.other.IntentKey;
import com.lc.cehui.util.SPUtil;

public class PassUserIdAPI implements IRequestApi {

    public String url;

    public PassUserIdAPI(String url) {
        this.url = url;
    }

    private int userid = SPUtil.get(AppApplication.mContext, IntentKey.USERID, 0);

    public PassUserIdAPI setUserid(int userid) {
        this.userid = userid;
        return this;
    }

    @Override
    public String getApi() {
        return url;
    }
}
